<?php /* Smarty version 2.6.18, created on 2011-05-16 10:50:54
         compiled from bao_tri_par_approduct.tpl */ ?>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "header.tpl", 'smarty_include_vars' => array('title' => 'Bao tri par_approduct')));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>
<form action="" method="post" name ="tongquat" target="_self">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td colspan="3">
<input type="button" value="<?php echo $this->_tpl_vars['ten_trove']; ?>
" onclick="history.back();" class="button_style" onMouseOver="this.className='button_style_hover'" onMouseOut="this.className='button_style'">
</td>
<td align="right" nowrap="nowrap">
<select name="hanhdong" size="1" onchange="changevalue('hanhdong');">
   <?php $_from = $this->_tpl_vars['chuyentrang']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['k'] => $this->_tpl_vars['v']):
?>
      <option value="<?php echo $this->_tpl_vars['k']; ?>
" <?php if ($this->_tpl_vars['select_cbo_chuyentrang'] == $this->_tpl_vars['k']): ?> selected="selected" <?php endif; ?>><?php echo $this->_tpl_vars['v']; ?>
</option>
 	<?php endforeach; endif; unset($_from); ?>
</select>
<input name="action" type="submit" value="<?php echo $this->_tpl_vars['ten_thuc_hien']; ?>
" class="button_style" onClick="" onMouseOver="this.className='button_style_hover'" onMouseOut="this.className='button_style'"/>
</td>
</tr>
<tr>
<td colspan="4">
<hr>
</td>
</tr>
</table>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td width="14%"><?php echo $this->_tpl_vars['lbl_PRDCODE']; ?>
</td>
     <td colspan="2" style="color:#FF0000">
	 <input name="PRDCODE" id="PRDCODE" onkeyup="this.value=this.value.toUpperCase().replace(' ','');" type="text" style="background:<?php echo $this->_tpl_vars['colorPRDCODE']; ?>
" value="<?php echo $this->_tpl_vars['PRDCODE']; ?>
" size="15" maxlength="10" <?php if ($this->_tpl_vars['activefield1'] == 'disabled'): ?> readonly="readonly"<?php endif; ?> />
      *      
     <input id="replacement_find" type="submit" name="find" value="    "  height="15"/></td>
     <td width="45%" style="color:#FF0000">&nbsp;</td>
  </tr>
  
  <tr>
    <td nowrap="nowrap"><?php echo $this->_tpl_vars['lbl_VNDESC']; ?>
</td>
    <td style="color:#FF0000" colspan="2" nowrap="nowrap">
	<input name="VNDESC" style="background:<?php echo $this->_tpl_vars['colorVNDESC']; ?>
" id="VNDESC" type="text"  value="<?php echo $this->_tpl_vars['VNDESC']; ?>
" size="50" maxlength="50" /></td>
    <td style="color:#FF0000" nowrap="nowrap">&nbsp;</td>
  </tr>
  <tr>
    <td><?php echo $this->_tpl_vars['lbl_ENDESC']; ?>
</td>
    <td colspan="2"><input name="ENDESC" id="ENDESC" type="text"  value="<?php echo $this->_tpl_vars['ENDESC']; ?>
" size="50" maxlength="50" /></td>
    <td>&nbsp;</td>
  </tr>
  <tr>
    <td nowrap="nowrap"><?php echo $this->_tpl_vars['lbl_AP']; ?>
</td>
    <td width="27%">
	<!---<select name="AP" size="1"  id="AP" >      
      <?php $_from = $this->_tpl_vars['cbo_loai']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['k'] => $this->_tpl_vars['v']):
?>      
      <option value="<?php echo $this->_tpl_vars['k']; ?>
" <?php if ($this->_tpl_vars['k'] == $this->_tpl_vars['AP']): ?> selected="selected" <?php endif; ?> ><?php echo $this->_tpl_vars['k']; ?>
</option>      
	  <?php endforeach; endif; unset($_from); ?>    
    </select> 
	<input type="hidden" name="tmpAP" value="<?php echo $this->_tpl_vars['AP']; ?>
"/>--->
	  
	  <select id="tmpAP" name="AP" size="1" disabled="disabled">
	  <option value="  "/>
 		<?php $_from = $this->_tpl_vars['cbo_loai']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['k'] => $this->_tpl_vars['v']):
?>
	  <option value="<?php echo $this->_tpl_vars['k']; ?>
" <?php if ($this->_tpl_vars['tmpAP'] == $this->_tpl_vars['k']): ?> selected="selected" <?php endif; ?>><?php echo $this->_tpl_vars['k']; ?>
- <?php echo $this->_tpl_vars['v']; ?>
</option>	  
 		<?php endforeach; endif; unset($_from); ?>	
	  </select>
	  <input type="hidden" name="tmpAP" type="text" id="tmpAP" value="<?php echo $this->_tpl_vars['tmpAP']; ?>
" size="20" maxlength="20" />
</td>
    <td width="14%">&nbsp;</td>
    <td>&nbsp;</td>
  </tr>
  <tr>
    <td nowrap="nowrap"><?php echo $this->_tpl_vars['lbl_GLACCT']; ?>
</td>
    <td colspan="2"><p>
      <input name="tmpGLACCT" type="text" id="tmpGLACCT" value="<?php echo $this->_tpl_vars['tmpGLACCT']; ?>
" size="15" maxlength="20" onkeypress="return numberOnly(event);" class="textright" />
      <span style="color:#FF0000;">*<span style="color:#FF0000">
        <input align="top" type="button" onclick="mywindow = window.open('par_glchart.php?name=tmpGLACCT', 'mywindow','menubar=0,resizable=yes,width=800,height=300, scrollbars=yes');mywindow.moveTo((screen.width-800)/2,screen.height/2);" name="account" id="replacement_binoculars" value="     " />
        <input type="submit" name="add" id="add" value="<?php echo $this->_tpl_vars['ten_them_moi1']; ?>
"  class="button_style" onmouseover="this.className='button_style_hover'" onmouseout="this.className='button_style'">
        <input name="delete" type="submit" value=" <?php echo $this->_tpl_vars['ten_xoa']; ?>
 " class="button_style" onclick="del_GLacc(this.form);" onmouseover="this.className='button_style_hover'" onmouseout="this.className='button_style'" />
      </span></span></p>
      <p><span style="color:#FF0000"><?php echo $this->_tpl_vars['GL_info']; ?>
</span></p></td>
    <td>&nbsp;</td>
  </tr>
  <tr>
    <td nowrap="nowrap">&nbsp;</td>
    <td colspan="2">
    <textarea name="GLACCT" style="background:<?php echo $this->_tpl_vars['colorGLACCT']; ?>
" cols="47" rows="3" id="GLACCT" readonly="readonly" ><?php echo $this->_tpl_vars['GLACCT']; ?>
</textarea></td>
    <td>&nbsp;</td>
  </tr>
  <tr>
    <td nowrap="nowrap"><?php echo $this->_tpl_vars['lbl_VERLVL']; ?>
</td>
    <td><select name="VERLVL" size="1" id="VERLVL">
      
      <option value=""/>
      <?php $_from = $this->_tpl_vars['cbo_capduyet']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['k'] => $this->_tpl_vars['v']):
?>
	  	
      
      
      <option value="<?php echo $this->_tpl_vars['k']; ?>
" <?php if ($this->_tpl_vars['k'] == $this->_tpl_vars['activeVERLVL']): ?> selected="selected" <?php endif; ?> ><?php echo $this->_tpl_vars['k']; ?>
</option>
      
      
	  <?php endforeach; endif; unset($_from); ?>
    
    
    
    </select>    </td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
  </tr>
  <tr>
    <td nowrap="nowrap"><?php echo $this->_tpl_vars['lbl_INITLEVEL']; ?>
</td>
    <td><select name="INITLEVEL" size="1"  id="INITLEVEL">
      
      
      <option value=" "/>
      
      <?php $_from = $this->_tpl_vars['cbo_capduyetbandau']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['k'] => $this->_tpl_vars['v']):
?>
	  	
      
      
      
      
      <option value="<?php echo $this->_tpl_vars['k']; ?>
" <?php if ($this->_tpl_vars['k'] == $this->_tpl_vars['activeINITLEVEL']): ?> selected="selected" <?php endif; ?> ><?php echo $this->_tpl_vars['k']; ?>
 - <?php echo $this->_tpl_vars['v']; ?>
</option>
      
      
      
      
	  <?php endforeach; endif; unset($_from); ?>
    
    
    
    
    
    </select>    </td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
  </tr>
  <tr>
    <td nowrap="nowrap"><?php echo $this->_tpl_vars['lbl_VMINAMTB']; ?>
</td>
    <td><input name="VMINAMTB" style="background:<?php echo $this->_tpl_vars['colorVMINAMTB']; ?>
" onblur="formatNumber2(this,this.value,20,0);" onkeypress="return numberOnly(event);" onchange="allowOnlyFloatingPointNumbers(this,this.value);" class="textright" type="text" id="VMINAMTB" value="<?php echo $this->_tpl_vars['VMINAMTB']; ?>
" size="20" maxlength="20" /></td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
  </tr>
  <tr>
    <td nowrap="nowrap"><?php echo $this->_tpl_vars['lbl_VMINAMTA']; ?>
</td>
    <td><input name="VMINAMTA" style="background:<?php echo $this->_tpl_vars['colorVMINAMTA']; ?>
" onblur="formatNumber2(this,this.value,20,0);"  onkeypress="return numberOnly(event);" onchange="allowOnlyFloatingPointNumbers(this,this.value);" class="textright" type="text" id="VMINAMTA" value="<?php echo $this->_tpl_vars['VMINAMTA']; ?>
" size="20" maxlength="20" /></td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
  </tr>
  <tr>
    <td nowrap="nowrap"><?php echo $this->_tpl_vars['lbl_VATACC']; ?>
</td>
    <td><input name="VATACC" style="background:<?php echo $this->_tpl_vars['colorVATACC']; ?>
" type="text" id="VATACC" value="<?php echo $this->_tpl_vars['VATACC']; ?>
" size="20" maxlength="15" onkeypress="return numberOnly(event);" class="textright" />
      <span style="color:#FF0000;"><span style="color:#FF0000;">*</span><span style="color:#FF0000">
        <input align="top" type="button" onclick="mywindow = window.open('par_glchart.php?name=VATACC', 'mywindow','menubar=0,resizable=yes,width=800,height=300, scrollbars=yes');mywindow.moveTo((screen.width-800)/2,screen.height/2);" name="account" id="replacement_binoculars" value="     " />
      </span></td>
    <td>&nbsp;</td>
    <td>
	<!---onblur="formatNumber2(this,this.value,20,0);"---></td>
  </tr>
</table>
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
    <td width="10%" nowrap="nowrap"><?php echo $this->_tpl_vars['lbl_AMC']; ?>
</td>
    <td width="90%"><select name="AMC" size="1" id="AMC">
      <option value=""></option>
      
      <?php $_from = $this->_tpl_vars['cbo_AMC']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['k'] => $this->_tpl_vars['v']):
?>
	 
      <option value="<?php echo $this->_tpl_vars['k']; ?>
" <?php if ($this->_tpl_vars['k'] == $this->_tpl_vars['AMC']): ?> selected="selected" <?php endif; ?> ><?php echo $this->_tpl_vars['k']; ?>
</option>
      
      <?php endforeach; endif; unset($_from); ?>
    
    
    </select></td>
  </tr>
<tr>
  <td align="left" nowrap="nowrap" colspan="2"><div align="right">
    <input type="button" name="cancle" id="cancle" value="<?php echo $this->_tpl_vars['ten_cancle']; ?>
" class="button_style" onclick="activeform(this.form,'PRDCODE');" onmouseover="this.className='button_style_hover'" onmouseout="this.className='button_style'" />
    <input type="submit" name="capnhat" value="<?php echo $this->_tpl_vars['ten_cap_nhat']; ?>
" <?php if ($this->_tpl_vars['activefield'] == 'disabled'): ?>disabled="disabled" <?php endif; ?> class="button_style" onclick="" onmouseover="this.className='button_style_hover'" onmouseout="this.className='button_style'" />
  </div></td>
</tr>
<tr>
  <td align="left" nowrap="nowrap" colspan="2">
    <div align="left">
      <input name="addnew" type="submit" value="<?php echo $this->_tpl_vars['ten_themmoi']; ?>
" class="button_style" onclick="" onmouseover="this.className='button_style_hover'" onmouseout="this.className='button_style'" />
      <input name="detail" type="submit" value="<?php echo $this->_tpl_vars['ten_chitiet']; ?>
" class="button_style" onclick="" onmouseover="this.className='button_style_hover'" onmouseout="this.className='button_style'" />
    </div></td>
</tr>
<tr>
<td colspan="2"><hr></td>
</tr>
<tr>
<td>
<input type="button" value="<?php echo $this->_tpl_vars['ten_trove']; ?>
" onclick="history.back();" class="button_style" onMouseOver="this.className='button_style_hover'" onMouseOut="this.className='button_style'"></td>
<td align="right" nowrap="nowrap"> 
<select name="hanhdong1" size="1" onchange="changevalue('hanhdong1');">
   <?php $_from = $this->_tpl_vars['chuyentrang']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['k'] => $this->_tpl_vars['v']):
?>
      <option value="<?php echo $this->_tpl_vars['k']; ?>
" <?php if ($this->_tpl_vars['select_cbo_chuyentrang'] == $this->_tpl_vars['k']): ?> selected="selected" <?php endif; ?>><?php echo $this->_tpl_vars['v']; ?>
</option>
 	<?php endforeach; endif; unset($_from); ?>
</select>
<input name="action" type="submit" value="<?php echo $this->_tpl_vars['ten_thuc_hien']; ?>
" class="button_style" onClick="" onMouseOver="this.className='button_style_hover'" onMouseOut="this.className='button_style'"></td>
</tr>
</table>
</form>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "footer.tpl", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>